<!--#include virtual="/dzps/p1.asp"-->
<%
	s1 "select * from pd where [ID]={id:int}"
%>
<!DOCTYPE html>
<html>
<head>
<%easp.include "h.asp"%>
<style type="text/css">
html {
    background-color: #fff;
}
</style>
</head>
<body>
  <div class="layui-form">
<%
	dim sql
  i_h "id",val("id")
	echo val("id")
  echo "<br>"

  echo val("pdfj")
	'echo js2("textarea.html","questionDescription","问题描述",val("questionDescription"),"required")
	'echo js2("input1.html","appoint_date","预约日期",val("appoint_date"),"required")
	'echo js2("input1.html","appoint_noon","预约上下午",val("appoint_noon"),"required")
  sql = "select id,xh+'  ['+appoint_date+appoint_noon+']  ' from pd2 where pid is  null and  pdfj='"&val("pdfj")+"' order by id"
	echo myopt("xh","排队序号",sql2arr(sql),iif(val("xh") = "",1,val("xh")))
	
%>
    <div class="layui-form-item layui-hide">
      <input type="button" lay-submit lay-filter="LAY-user-front-submit" id="LAY-user-front-submit" value="确认">
    </div>
  </div>
  <script src="/<%=rootpath%>/src/layuiadmin/layui/layui.js"></script>  
  <script>
  layui.config({
    base: '/<%=rootpath%>/src/layuiadmin/' 
  }).extend({
    index: 'lib/index' 
  }).use(['index', 'set','form', 'upload','user'],function(){
    var $ = layui.$
    ,setter = layui.setter
    ,admin = layui.admin
    ,form = layui.form;  
  	//$('textarea').focus();
	var laydate = layui.laydate;	
	laydate.render({
		elem: '#appoint_date'
		,value: '<%
    if val("appoint_date")<>"" then
      echo val("appoint_date")
    else
      echo Format_Time(now()-1,2)
    end if  
      %>'	
	  });	  
  
  });
  </script>  
</body>
</html>